package com.ygqh.customs.mapper;


import com.ygqh.common.BaseMapper;
import com.ygqh.customs.model.DataUpListModel;
import com.ygqh.customs.po.YgCustomsDataUp;
import com.ygqh.customs.request.DataUpSearchRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author admin
 */
@Mapper
public interface YgCustomsDataUpMapper extends BaseMapper<YgCustomsDataUp> {
    YgCustomsDataUp selectBySessionId(String sessionId);

    /**
     * 获取数据数量
     *
     * @param searchRequest 筛选参数
     * @return int
     */
    int count(DataUpSearchRequest searchRequest);

    /**
     * 获取列表
     *
     * @param searchRequest 筛选参数
     * @return List<DataUpListModel>
     */
    List<DataUpListModel> selectList(DataUpSearchRequest searchRequest);
}